/**   
* @Title: RedisSessionConfig.java
* @Package me.cloud
* @Description: TODO
* @author xaoyaoyao
* @date Dec 21, 2018 2:27:35 PM
* @version V1.0   
*/
package me.cloud.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.session.data.redis.RedisFlushMode;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @ClassName: RedisSessionConfig
 * @Description: TODO
 * @author xaoyaoyao
 * @date Dec 21, 2018 2:27:35 PM
 * 
 */
@Configuration
@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 3600, redisFlushMode = RedisFlushMode.IMMEDIATE)
public class RedisSessionConfig {

}
